<!-- SCRIPTS -->
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-core.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-service.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-ui.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-mapevents.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-clustering.js"></script>

<!-- BODY -->
<h1>Marker Clustering</h1>
<p>This example displays a map showing the distribution of airports across the world. The locations were obtained by using the <a target="_blank" rel="nofollow" href="http://openflights.org/data.html">OpenFlights Airport Database</a>. Instead of adding a marker for each location, the data has been clustered, and individual airports are only shown at higher zoom levels.</p>
<hr/>
<div id="map" style="width: 600px; height: 400px; background: grey"></div>
<hr/>
<h2>Credits</h2>
<blockquote>
<code>airports.json</code><br>
<small>
OpenFlights Airport, Airline and Route Databases are made available under the Open Database License (<a href="http://opendatacommons.org/licenses/odbl/1.0/">http://opendatacommons.org/licenses/odbl/1.0/</a>).<br/>
Any rights in individual contents of the database are licensed under the Database Contents License.
(<a href="http://opendatacommons.org/licenses/dbcl/1.0/">http://opendatacommons.org/licenses/dbcl/1.0/</a>)<br/>
In short, these mean that you are welcome to use the data as you wish, if and only if you both acknowledge the source and and license any derived works made available to the public with a free license as well.
</small>
</blockquote>

